package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.goods.ItemDetailVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

/**
 * (SysShoppingCart)返回前端对象
 *
 * @author makejava
 * @since 2020-06-05 16:01:27
 */
@Data
@ApiModel("购物车")
public class ShoppingCartVo {


    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("商户ID")
    private String mchId;

    @ApiModelProperty("门店ID")
    private String shopId;

    @ApiModelProperty("门店名称")
    private String shopName;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("商品ID")
    private String itemId;

    @ApiModelProperty("子商品ID")
    private String skuCode;

    @ApiModelProperty("数量")
    private Integer skuQty;

    @ApiModelProperty("是否钩选")
    private Integer checked;

    @ApiModelProperty("所属产品")
    private String product;

    @ApiModelProperty("商品信息")
    private ItemDetailVo itemVo;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

}
